import { IsNotEmpty } from 'class-validator'
import i18n from '@/i18n'
import { ApiProperty } from '@nestjs/swagger'

export class MetaResourceModelListByChartDto {
  @ApiProperty({ description: i18n.t('app-meta.dto.meta-resource-model-list-by-chart.12151144-0') })
  @IsNotEmpty()
  name: string

  @ApiProperty({ description: i18n.t('app-meta.dto.meta-resource-model-list-by-chart.12151144-1') })
  @IsNotEmpty()
  platform: string
}
